package com.demo.designmode.proxy.dynamic.cglib;

/**
 * @Author: jxm
 * @Description:
 * @Date: 2024-1-11 13:47
 * @Version: 1.0
 */
public class Client {

    public static void main(String[] args) {
        TrainStation  station = new TrainStation();
        //创建代理工厂对象
        ProxyFactory factory = new ProxyFactory(station);
        TrainStation proxyObject = factory.getProxyObject();
        proxyObject.sell();
    }
}
